<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交精选 - 发现好物</title>
    
    <!-- 引入外部资源 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <style>
        :root {
            --primary: #4f46e5;
            --primary-light: #818cf8;
            --secondary: #ec4899;
            --neutral-light: #f3f4f6;
            --neutral: #e5e7eb;
            --text-dark: #1f2937;
            --text-medium: #4b5563;
            --text-light: #6b7280;
            --success: #10b981;
            --discount: #ef4444;
            --transition: all 0.3s ease;
        }
        
        body {
            font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background-color: #fafafa;
            color: var(--text-dark);
            line-height: 1.5;
        }
        
        /* 页面标题样式 */
        .page-header {
            margin-bottom: 2rem;
        }
        
        .page-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .page-subtitle {
            color: var(--text-light);
            font-size: 1.1rem;
        }
        
        /* 区块标题样式 */
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 40px;
            height: 3px;
            background-color: var(--primary);
            border-radius: 3px;
        }
        
        /* 通用卡片样式 */
        .product-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: var(--transition);
            border: none;
        }
        
        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        }
        
        /* 图片容器样式 */
        .product-image-container {
            position: relative;
            overflow: hidden;
        }
        
        .product-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .product-card:hover .product-image {
            transform: scale(1.05);
        }
        
        /* 标签样式 */
        .product-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            color: white;
            z-index: 1;
        }
        
        .badge-new {
            background-color: var(--primary);
        }
        
        .badge-sale {
            background-color: var(--discount);
        }
        
        .badge-trending {
            background-color: var(--secondary);
        }
        
        /* 操作按钮 */
        .product-actions {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            z-index: 1;
        }
        
        .action-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: var(--transition);
            color: var(--text-medium);
        }
        
        .action-btn:hover {
            background-color: var(--primary);
            color: white;
            transform: scale(1.1);
        }
        
        /* 1. 网格瀑布流样式 */
        .grid-masonry {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }
        
        .masonry-item {
            break-inside: avoid;
            margin-bottom: 1.5rem;
        }
        
        .masonry-image {
            height: 320px;
        }
        
        .masonry-content {
            padding: 1rem;
        }
        
        .product-name {
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 44px;
        }
        
        .product-price {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }
        
        .price-original {
            text-decoration: line-through;
            color: var(--text-light);
            font-weight: normal;
            font-size: 0.9rem;
            margin-left: 5px;
        }
        
        .product-rating {
            display: flex;
            align-items: center;
            font-size: 0.85rem;
            color: var(--text-light);
        }
        
        .rating-stars {
            color: #f59e0b;
            margin-right: 5px;
        }
        
        /* 2. 横幅式商品展示 */
        .banner-products {
            margin-bottom: 3rem;
        }
        
        .product-banner {
            display: flex;
            height: 350px;
            margin-bottom: 1.5rem;
        }
        
        .banner-image-container {
            flex: 0 0 40%;
            position: relative;
        }
        
        .banner-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .banner-content {
            flex: 1;
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background-color: white;
        }
        
        .banner-category {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .banner-product-name {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            max-width: 500px;
        }
        
        .banner-description {
            color: var(--text-medium);
            margin-bottom: 1.5rem;
            max-width: 500px;
            line-height: 1.6;
        }
        
        .banner-price {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }
        
        .banner-actions {
            display: flex;
            gap: 1rem;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
            padding: 10px 24px;
            font-weight: 600;
            border-radius: 8px;
            transition: var(--transition);
        }
        
        .btn-primary:hover {
            background-color: var(--primary-light);
            border-color: var(--primary-light);
            transform: translateY(-2px);
        }
        
        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
            padding: 10px 24px;
            font-weight: 600;
            border-radius: 8px;
            transition: var(--transition);
        }
        
        .btn-outline:hover {
            background-color: var(--primary);
            color: white;
            transform: translateY(-2px);
        }
        
        /* 3. 横向滚动样式 */
        .scrollable-products {
            margin-bottom: 3rem;
        }
        
        .scroll-container {
            display: flex;
            gap: 1.25rem;
            overflow-x: auto;
            padding-bottom: 1rem;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-light) transparent;
        }
        
        .scroll-container::-webkit-scrollbar {
            height: 6px;
        }
        
        .scroll-container::-webkit-scrollbar-thumb {
            background-color: var(--primary-light);
            border-radius: 3px;
        }
        
        .scroll-item {
            min-width: 200px;
            flex-shrink: 0;
        }
        
        .scroll-image {
            height: 220px;
        }
        
        .scroll-content {
            padding: 0.75rem;
        }
        
        .scroll-product-name {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.3rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 40px;
        }
        
        /* 4. 社交推荐样式 */
        .social-recommendations {
            margin-bottom: 3rem;
        }
        
        .social-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .social-image {
            height: 250px;
        }
        
        .social-content {
            padding: 1rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .user-info {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 0.75rem;
        }
        
        .user-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .user-name {
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .social-caption {
            font-size: 0.9rem;
            color: var(--text-medium);
            margin-bottom: 1rem;
            flex: 1;
        }
        
        .social-actions {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: var(--text-light);
        }
        
        .social-action {
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
        }
        
        .social-action:hover {
            color: var(--primary);
        }
        
        /* 5. 对比式商品展示 */
        .comparison-products {
            margin-bottom: 3rem;
        }
        
        .comparison-container {
            display: flex;
            gap: 1.5rem;
        }
        
        .comparison-card {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .comparison-image {
            height: 200px;
        }
        
        .comparison-content {
            padding: 1rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .comparison-features {
            margin: 1rem 0;
            flex: 1;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            margin-bottom: 0.75rem;
        }
        
        .feature-check {
            margin-right: 8px;
            color: var(--success);
        }
        
        .comparison-footer {
            margin-top: auto;
        }
        
        /* 6. 精选组合样式 */
        .product-sets {
            margin-bottom: 3rem;
        }
        
        .set-card {
            display: flex;
            flex-direction: column;
        }
        
        .set-images {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5px;
            height: 250px;
        }
        
        .set-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .set-image:first-child {
            grid-row: span 2;
        }
        
        .set-content {
            padding: 1rem;
        }
        
        .set-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .set-description {
            font-size: 0.9rem;
            color: var(--text-medium);
            margin-bottom: 0.75rem;
        }
        
        .set-items {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-bottom: 0.75rem;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .product-banner {
                flex-direction: column;
                height: auto;
            }
            
            .banner-image-container {
                flex: 0 0 250px;
            }
            
            .comparison-container {
                flex-direction: column;
            }
        }
        
        @media (max-width: 768px) {
            .page-title {
                font-size: 1.6rem;
            }
            
            .section-title {
                font-size: 1.3rem;
            }
            
            .banner-content {
                padding: 1.5rem;
            }
            
            .banner-product-name {
                font-size: 1.5rem;
            }
            
            .banner-actions {
                flex-direction: column;
            }
            
            .set-images {
                height: 200px;
            }
        }
    </style>
</head>
<body>
    <div class="container py-8">
        <!-- 页面标题 -->
        <div class="page-header">
            <h1 class="page-title">发现精选好物</h1>
            <p class="page-subtitle">探索社交圈中最受欢迎的潮流商品</p>
        </div>
        
        <!-- 1. 网格瀑布流商品展示 -->
        <section class="grid-masonry-section mb-8">
            <h2 class="section-title">热门推荐</h2>
            
            <div class="grid-masonry">
                <!-- 商品1 -->
                <div class="product-card masonry-item">
                    <div class="product-image-container masonry-image">
                        <img src="https://picsum.photos/600/800?random=1" alt="时尚休闲背包" class="product-image">
                        <span class="product-badge badge-new">新品</span>
                        <div class="product-actions">
                            <button class="action-btn" title="收藏">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="action-btn" title="快速查看">
                                <i class="far fa-eye"></i>
                            </button>
                        </div>
                    </div>
                    <div class="masonry-content">
                        <h3 class="product-name">时尚休闲双肩背包 多功能旅行包</h3>
                        <div class="product-price">
                            ¥299 <span class="price-original">¥399</span>
                        </div>
                        <div class="product-rating">
                            <span class="rating-stars">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                            </span>
                            <span>(128)</span>
                        </div>
                    </div>
                </div>
                
                <!-- 商品2 -->
                <div class="product-card masonry-item">
                    <div class="product-image-container masonry-image">
                        <img src="https://picsum.photos/600/700?random=2" alt="无线蓝牙耳机" class="product-image">
                        <span class="product-badge badge-sale">热销</span>
                        <div class="product-actions">
                            <button class="action-btn" title="收藏">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="action-btn" title="快速查看">
                                <i class="far fa-eye"></i>
                            </button>
                        </div>
                    </div>
                    <div class="masonry-content">
                        <h3 class="product-name">主动降噪无线蓝牙耳机 长续航</h3>
                        <div class="product-price">
                            ¥599 <span class="price-original">¥799</span>
                        </div>
                        <div class="product-rating">
                            <span class="rating-stars">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                            </span>
                            <span>(356)</span>
                        </div>
                    </div>
                </div>
                
                <!-- 商品3 -->
                <div class="product-card masonry-item">
                    <div class="product-image-container masonry-image">
                        <img src="https://picsum.photos/600/650?random=3" alt="智能手表" class="product-image">
                        <div class="product-actions">
                            <button class="action-btn" title="收藏">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="action-btn" title="快速查看">
                                <i class="far fa-eye"></i>
                            </button>
                        </div>
                    </div>
                    <div class="masonry-content">
                        <h3 class="product-name">全触摸智能手表 心率监测 运动计步</h3>
                        <div class="product-price">
                            ¥349
                        </div>
                        <div class="product-rating">
                            <span class="rating-stars">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                            </span>
                            <span>(245)</span>
                        </div>
                    </div>
                </div>
                
                <!-- 商品4 -->
                <div class="product-card masonry-item">
                    <div class="product-image-container masonry-image">
                        <img src="https://picsum.photos/600/750?random=4" alt="纯棉T恤" class="product-image">
                        <span class="product-badge badge-trending">潮流</span>
                        <div class="product-actions">
                            <button class="action-btn" title="收藏">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="action-btn" title="快速查看">
                                <i class="far fa-eye"></i>
                            </button>
                        </div>
                    </div>
                    <div class="masonry-content">
                        <h3 class="product-name">夏季纯棉宽松T恤 男女同款 多色可选</h3>
                        <div class="product-price">
                            ¥89 <span class="price-original">¥129</span>
                        </div>
                        <div class="product-rating">
                            <span class="rating-stars">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <i class="far fa-star"></i>
                            </span>
                            <span>(89)</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 2. 横幅式商品展示 -->
        <section class="banner-products mb-8">
            <h2 class="section-title">精选单品</h2>
            
            <div class="product-banner card">
                <div class="banner-image-container">
                    <img src="https://picsum.photos/800/1000?random=10" alt="高端智能相机" class="banner-image">
                </div>
                <div class="banner-content">
                    <div class="banner-category">数码设备</div>
                    <h3 class="banner-product-name">专业级智能数码相机 4K高清视频拍摄</h3>
                    <p class="banner-description">
                        这款专业级数码相机配备2420万像素全画幅传感器，支持4K视频拍摄和5倍光学变焦。智能自动模式让摄影新手也能拍出专业级照片，而手动模式则满足专业摄影师的创作需求。轻便的设计和持久的电池续航，是旅行和日常拍摄的理想选择。
                    </p>
                    <div class="banner-price">
                        ¥4,599 <span class="price-original">¥5,299</span>
                    </div>
                    <div class="banner-actions">
                        <button class="btn btn-primary">立即购买</button>
                        <button class="btn btn-outline">加入购物车</button>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 3. 横向滚动商品展示 -->
        <section class="scrollable-products mb-8">
            <h2 class="section-title">限时特惠</h2>
            
            <div class="scroll-container">
                <!-- 商品1 -->
                <div class="product-card scroll-item">
                    <div class="product-image-container scroll-image">
                        <img src="https://picsum.photos/400/500?random=20" alt="便携充电宝" class="product-image">
                        <span class="product-badge badge-sale">-30%</span>
                    </div>
                    <div class="scroll-content">
                        <h3 class="scroll-product-name">20000mAh大容量便携充电宝 双向快充</h3>
                        <div class="product-price">
                            ¥129 <span class="price-original">¥189</span>
                        </div>
                    </div>
                </div>
                
                <!-- 商品2 -->
                <div class="product-card scroll-item">
                    <div class="product-image-container scroll-image">
                        <img src="https://picsum.photos/400/500?random=21" alt="机械键盘" class="product-image">
                        <span class="product-badge badge-sale">-25%</span>
                    </div>
                    <div class="scroll-content">
                        <h3 class="scroll-product-name">青轴机械键盘 背光游戏键盘 全尺寸</h3>
                        <div class="product-price">
                            ¥239 <span class="price-original">¥319</span>
                        </div>
                    </div>
                </div>
                
                <!-- 商品3 -->
                <div class="product-card scroll-item">
                    <div class="product-image-container scroll-image">
                        <img src="https://picsum.photos/400/500?random=22" alt="无线充电器" class="product-image">
                        <span class="product-badge badge-sale">-20%</span>
                    </div>
                    <div class="scroll-content">
                        <h3 class="scroll-product-name">15W快速无线充电器 兼容多种设备</h3>
                        <div class="product-price">
                            ¥79 <span class="price-original">¥99</span>
                        </div>
                    </div>
                </div>
                
                <!-- 商品4 -->
                <div class="product-card scroll-item">
                    <div class="product-image-container scroll-image">
                        <img src="https://picsum.photos/400/500?random=23" alt="蓝牙音箱" class="product-image">
                        <span class="product-badge badge-sale">-40%</span>
                    </div>
                    <div class="scroll-content">
                        <h3 class="scroll-product-name">便携式蓝牙音箱 防水设计 重低音</h3>
                        <div class="product-price">
                            ¥179 <span class="price-original">¥299</span>
                        </div>
                    </div>
                </div>
                
                <!-- 商品5 -->
                <div class="product-card scroll-item">
                    <div class="product-image-container scroll-image">
                        <img src="https://picsum.photos/400/500?random=24" alt="智能灯泡" class="product-image">
                        <span class="product-badge badge-sale">-15%</span>
                    </div>
                    <div class="scroll-content">
                        <h3 class="scroll-product-name">WiFi智能灯泡 多彩变色 手机控制</h3>
                        <div class="product-price">
                            ¥59 <span class="price-original">¥69</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 4. 社交推荐商品展示 -->
        <section class="social-recommendations mb-8">
            <h2 class="section-title">好友推荐</h2>
            
            <div class="row gap-4">
                <!-- 社交推荐1 -->
                <div class="col-12 col-md-6 col-lg-4">
                    <div class="product-card social-card">
                        <div class="product-image-container social-image">
                            <img src="https://picsum.photos/600/600?random=30" alt="手工咖啡杯套装" class="product-image">
                        </div>
                        <div class="social-content">
                            <div class="user-info">
                                <img src="https://picsum.photos/100/100?random=50" alt="用户头像" class="user-avatar">
                                <span class="user-name">林小雨</span>
                            </div>
                            <p class="social-caption">
                                这套手工陶瓷咖啡杯真的太漂亮了！质感很好，釉色均匀，每天早上用它喝咖啡心情都变好了～ 已经推荐给好几个朋友了！
                            </p>
                            <h3 class="product-name">手工陶瓷咖啡杯套装 2件套</h3>
                            <div class="product-price">¥159</div>
                            <div class="social-actions">
                                <div class="social-action">
                                    <i class="far fa-heart"></i> 243
                                </div>
                                <div class="social-action">
                                    <i class="far fa-comment"></i> 36
                                </div>
                                <div class="social-action">
                                    <i class="far fa-share-square"></i> 分享
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 社交推荐2 -->
                <div class="col-12 col-md-6 col-lg-4">
                    <div class="product-card social-card">
                        <div class="product-image-container social-image">
                            <img src="https://picsum.photos/600/600?random=31" alt="便携式榨汁机" class="product-image">
                        </div>
                        <div class="social-content">
                            <div class="user-info">
                                <img src="https://picsum.photos/100/100?random=51" alt="用户头像" class="user-avatar">
                                <span class="user-name">王大力</span>
                            </div>
                            <p class="social-caption">
                                这款便携榨汁机太实用了！早上打一杯果汁带到公司，噪音小，清洗方便，续航也不错，充一次电可以用一周左右。
                            </p>
                            <h3 class="product-name">便携式家用榨汁机 迷你果汁机</h3>
                            <div class="product-price">¥199</div>
                            <div class="social-actions">
                                <div class="social-action">
                                    <i class="far fa-heart"></i> 187
                                </div>
                                <div class="social-action">
                                    <i class="far fa-comment"></i> 24
                                </div>
                                <div class="social-action">
                                    <i class="far fa-share-square"></i> 分享
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 社交推荐3 -->
                <div class="col-12 col-md-6 col-lg-4">
                    <div class="product-card social-card">
                        <div class="product-image-container social-image">
                            <img src="https://picsum.photos/600/600?random=32" alt="复古蓝牙音箱" class="product-image">
                        </div>
                        <div class="social-content">
                            <div class="user-info">
                                <img src="https://picsum.photos/100/100?random=52" alt="用户头像" class="user-avatar">
                                <span class="user-name">张小明</span>
                            </div>
                            <p class="social-caption">
                                颜值爆表的复古蓝牙音箱！音质超出预期，放在家里既是音响也是装饰品，朋友来做客都会问链接～
                            </p>
                            <h3 class="product-name">复古蓝牙音箱 迷你无线音响 低音炮</h3>
                            <div class="product-price">¥269</div>
                            <div class="social-actions">
                                <div class="social-action">
                                    <i class="far fa-heart"></i> 321
                                </div>
                                <div class="social-action">
                                    <i class="far fa-comment"></i> 47
                                </div>
                                <div class="social-action">
                                    <i class="far fa-share-square"></i> 分享
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 5. 对比式商品展示 -->
        <section class="comparison-products mb-8">
            <h2 class="section-title">产品对比</h2>
            
            <div class="comparison-container">
                <!-- 对比商品1 -->
                <div class="product-card comparison-card">
                    <div class="product-image-container comparison-image">
                        <img src="https://picsum.photos/600/600?random=40" alt="入门级平板电脑" class="product-image">
                    </div>
                    <div class="comparison-content">
                        <h3 class="product-name">入门级平板电脑 10.1英寸</h3>
                        <div class="product-price">¥1,299</div>
                        
                        <div class="comparison-features">
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>四核处理器</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>3GB内存 + 32GB存储</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>7200mAh电池</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>10.1英寸高清屏</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-times text-danger"></i>
                                <span>不支持快充</span>
                            </div>
                        </div>
                        
                        <div class="comparison-footer">
                            <button class="btn btn-outline w-100">加入购物车</button>
                        </div>
                    </div>
                </div>
                
                <!-- 对比商品2 -->
                <div class="product-card comparison-card">
                    <div class="product-image-container comparison-image">
                        <img src="https://picsum.photos/600/600?random=41" alt="进阶级平板电脑" class="product-image">
                    </div>
                    <div class="comparison-content">
                        <h3 class="product-name">进阶级平板电脑 11英寸</h3>
                        <div class="product-price">¥2,499</div>
                        
                        <div class="comparison-features">
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>八核处理器</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>6GB内存 + 128GB存储</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>8500mAh电池</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>11英寸2K超清屏</span>
                            </div>
                            <div class="feature-item">
                                <i class="fas fa-check feature-check"></i>
                                <span>支持20W快充</span>
                            </div>
                        </div>
                        
                        <div class="comparison-footer">
                            <button class="btn btn-primary w-100">立即购买</button>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 6. 精选组合商品展示 -->
        <section class="product-sets">
            <h2 class="section-title">精选组合</h2>
            
            <div class="row gap-4">
                <!-- 组合1 -->
                <div class="col-12 col-md-6">
                    <div class="product-card set-card">
                        <div class="set-images">
                            <img src="https://picsum.photos/600/1200?random=60" alt="护肤品套装主图" class="set-image">
                            <img src="https://picsum.photos/600/600?random=61" alt="洁面乳" class="set-image">
                            <img src="https://picsum.photos/600/600?random=62" alt="保湿霜" class="set-image">
                        </div>
                        <div class="set-content">
                            <h3 class="set-title">天然保湿护肤三件套</h3>
                            <p class="set-description">包含洁面乳、爽肤水和保湿霜，天然成分，适合所有肤质，特别是敏感肌肤。</p>
                            <div class="set-items">包含3件产品</div>
                            <div class="product-price">
                                ¥359 <span class="price-original">¥497</span>
                                <span class="text-success">（省¥138）</span>
                            </div>
                            <button class="btn btn-primary mt-2 w-100">查看组合详情</button>
                        </div>
                    </div>
                </div>
                
                <!-- 组合2 -->
                <div class="col-12 col-md-6">
                    <div class="product-card set-card">
                        <div class="set-images">
                            <img src="https://picsum.photos/600/1200?random=63" alt="运动装备套装主图" class="set-image">
                            <img src="https://picsum.photos/600/600?random=64" alt="运动鞋" class="set-image">
                            <img src="https://picsum.photos/600/600?random=65" alt="运动背包" class="set-image">
                        </div>
                        <div class="set-content">
                            <h3 class="set-title">专业跑步装备套装</h3>
                            <p class="set-description">包含专业跑鞋、运动背包和运动水壶，轻便舒适，适合马拉松和日常跑步锻炼。</p>
                            <div class="set-items">包含3件产品</div>
                            <div class="product-price">
                                ¥899 <span class="price-original">¥1,197</span>
                                <span class="text-success">（省¥298）</span>
                            </div>
                            <button class="btn btn-primary mt-2 w-100">查看组合详情</button>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <script>
        // 收藏按钮交互
        document.querySelectorAll('.action-btn i.far.fa-heart').forEach(icon => {
            icon.addEventListener('click', function(e) {
                e.stopPropagation();
                if (this.classList.contains('far')) {
                    this.classList.remove('far');
                    this.classList.add('fas');
                    this.style.color = 'var(--secondary)';
                    showToast('已收藏');
                } else {
                    this.classList.remove('fas');
                    this.classList.add('far');
                    this.style.color = '';
                    showToast('已取消收藏');
                }
            });
        });
        
        // 社交推荐点赞交互
        document.querySelectorAll('.social-action i.far.fa-heart').forEach(icon => {
            icon.addEventListener('click', function(e) {
                e.stopPropagation();
                const parent = this.closest('.social-action');
                const countText = parent.childNodes[2].textContent.trim();
                let count = parseInt(countText);
                
                if (this.classList.contains('far')) {
                    this.classList.remove('far');
                    this.classList.add('fas');
                    this.style.color = 'var(--secondary)';
                    parent.childNodes[2].textContent = ` ${count + 1}`;
                } else {
                    this.classList.remove('fas');
                    this.classList.add('far');
                    this.style.color = '';
                    parent.childNodes[2].textContent = ` ${count - 1}`;
                }
            });
        });
        
 
        
        // 按钮点击效果
        document.querySelectorAll('.btn').forEach(btn => {
            btn.addEventListener('click', function() {
                const text = this.textContent.trim();
                if (text.includes('购买')) {
                    const productName = this.closest('.product-card, .product-banner').querySelector('.product-name, .banner-product-name').textContent.trim();
                    showToast(`已加入购物车: ${productName}`);
                } else if (text.includes('查看组合')) {
                    const setTitle = this.closest('.set-card').querySelector('.set-title').textContent.trim();
                    showToast(`正在查看: ${setTitle}`);
                }
            });
        });
    </script>
</body>
</html>
    
